package com.dyh.quickdemo.demos.d1222lbd;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/*
@Author=Joey Wheeler
@Date=2020/12/22 10:10
*/
@Service
@Slf4j
public class HalloService implements AisatsuService{

    public void hi(String str){
        log.info("hallo! "+str);
    }

    @Override
    public boolean match(String str) {
        return str.contains("DE");
    }
}
